<template>
  <div>
    <van-list v-model="loading" :finished="finished" finished-text="没有更多了">
      <van-cell
        v-for="item in searchTipsList"
        :key="item"
        :title="item"
        @click="handleClick(item)"
      />
    </van-list>
  </div>
</template>

<script>
export default {
  props: ["searchTipsList"],
  data() {
    return {
      //   list: [1, 2, 3, 4, 5],
      loading: false,
      finished: true,
    };
  },
  methods: {
    handleClick(val) {
      this.$emit("tagClick", val);
    },
  },
  components: {},
};
</script>
 
<style lang = "less" scoped>
</style>